django jinja extract elements from form object

55

django jinja extract elements from form object -

{{ form.non_field_errors }}
<div class="fieldWrapper">
    {{ form.yourfield.errors }}
    <label for="{{ form.yourfield.id_for_label }}">yourfield:</label>
    {{ form.yourfield }}
</div>

Comments

Submit
0 Comments